package com.qk.service;

import com.qk.commom.PageResult;
import com.qk.entity.Role;
import org.springframework.stereotype.Service;

import java.util.List;


public interface RoleService {
    PageResult<Role> list1(String name, String label, Integer page, Integer pageSize);

    void add(Role role);

    void delete(Integer id);

    void uptate1(Role role);

    Role getById(Integer id);

    List<Role> getAll();
}
